<?php

namespace maotool\src\test;

use maotool\view\ViewUtil;
use PHPUnit\Framework\TestCase;

class DemoTest extends TestCase
{

    public function base()
    {
        return ViewUtil::component("maotool:/src/test/resources/views/com/base.html");
    }

    public function head()
    {
        return ViewUtil::component("maotool:/src/test/resources/views/com/head.html");
    }

    public function testIndex()
    {
        $document = ViewUtil::render("maotool:/src/test/resources/views/com/index.html");
        var_dump($document);
        $this->assertTrue(true);
    }

}